<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>B页面</title>
	</head>
	<body>
		<button type="button" onclick="skip()">跳转到C页面</button>
		<button type="button" onclick="advance()">前进</button>
		<button type="button" onclick="retreat()">后退</button>
		<button type="button" onclick="refresh()">刷新</button>
	</body>
	<script type="text/javascript">
		function skip(){
			location.href='C.html'
		}
		function advance(){
			history.go(1);
		}
		function retreat(){
			history.go(-1);
		}
		function refresh(){
			history.go(0);
		}
	</script>
</html>
